<template>
    <div id="app"
         :style="'height:'+height+'px'">
        <router-view />
    </div>
</template>
<script>
    export default {
        data() {
            return {
                height: 0
            }
        },
        created() {
            var h = window.innerHeight
                || document.documentElement.clientHeight
                || document.body.clientHeight;
            this.height = h;
        }
    }
</script>


<style lang="less">
    @import "./assets/css/basic.css";
    #app {
        font-family: Avenir, Helvetica, Arial, sans-serif;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        text-align: center;
        color: #2c3e50;
    }
    .layout-content {
        width: 100%;
        height: 100%;
        background: white;
        box-sizing: border-box;
        padding: 10px;
        // overflow: hidden;
    }

    // #nav {
    //     padding: 30px;

    //     a {
    //         font-weight: bold;
    //         color: #2c3e50;

    //         &.router-link-exact-active {
    //             color: #42b983;
    //         }
    //     }
    // }
</style>
